package com.example.demo.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

@Configuration
@EnableConfigurationProperties(QueueConfig.class)
@ConfigurationProperties(prefix = "tailong")
public class QueueConfig {
    private Map route;

    public Map getRoute() {
        return route;
    }

    public void setRoute(Map route) {
        this.route = route;
    }

}
